#include <iostream>
#include <math.h>
using namespace std;

int main()
{
  int A=1;
  int B=6;
  int C=3;
  int BC;
  int AC;
  int x;
  AC=A-C;
  BC=B-C;
  cout<<"BC="<< abs(BC)<<"\n";
  cout<< "AC="<< abs(AC)<<"\n";
x=abs(BC)+abs(AC) ;
cout<<"summa="<< x ;

    return 0;
}

